<div class="bs-callout bs-callout-info">
    <h4>Add account</h4>
    <p><a href="<?php echo base_url()?>admin/account">+ Back</a></p>
</div>

<form class="form-horizontal" role="form" method="POST">
    <div class="form-group">
        <label for="roleid" class="col-sm-2 control-label">Role name</label>
        <div class="col-sm-10">
            <select class="form-control" id="roleid" name="roleid">
                <?php foreach($roles as $k=>$v) {?>
                    <option value="<?php echo $v['id'];?>"><?php echo $v['rolename'];?></option>
                <?php }?>
            </select>
        </div>
    </div>
    
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">Username</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="username" placeholder="Username" name="username" />
        </div>
    </div>
    
    <div class="form-group">
        <label for="passwordd" class="col-sm-2 control-label">Password</label>
        <div class="col-sm-10">
            <input type="password" class="form-control" id="passwordd" placeholder="Password" name="passwordd" />
        </div>
    </div>
    
    <div class="form-group">
        <label for="fullname" class="col-sm-2 control-label">Fullname</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="fullname" placeholder="Fullname" name="fullname" />
        </div>
    </div>
    
    <div class="form-group">
        <label for="birthday" class="col-sm-2 control-label">Birthday</label>
        <div class="col-sm-10">
            <input type="date" class="form-control" id="birthday" placeholder="Birthday" name="birthday" />
        </div>
    </div>
    
    <div class="form-group">
        <label for="phone" class="col-sm-2 control-label">Phone</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="phone" placeholder="Phone" name="phone" />
        </div>
    </div>
    
    <div class="form-group">
        <label for="email" class="col-sm-2 control-label">Email</label>
        <div class="col-sm-10">
            <input type="email" class="form-control" id="email" placeholder="Email" name="email" />
        </div>
    </div>
    
    <div class="form-group">
        <label for="address" class="col-sm-2 control-label">Address</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="address" placeholder="Address" name="address" />
        </div>
    </div>
    
    <div class="form-group">
        <label for="statuss" class="col-sm-2 control-label">Status</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="statuss" placeholder="Status" name="statuss" />
        </div>
    </div>

    
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">Save</button>
        </div>
    </div>
</form>